package com.itboye.ihomebank.key;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;

import com.itboye.ihomebank.R;
import com.itboye.ihomebank.base.BaseOtherActivity;
/**
 *普通用户
 *
 */
public class ActivityPuTongKey extends BaseOtherActivity {
	ImageView putongkey_finish;//返回
	TextView putongkey_title;//标题
	ImageView putongkey_shezhi;//设置
	
	@Override
	public void onClick(View v) {
		switch (v.getId()) {
		case R.id.putongkey_finish:
			finish();
			break;
		case R.id.putongkey_shezhi://设置
			Intent intent=new Intent(this, ActivityKeySheZhiOne.class);
			intent.putExtra("lockId",
					getIntent().getStringExtra("lockId"));
			intent.putExtra("alias",
					getIntent().getStringExtra("alias"));
			startActivity(intent);
			break;

		default:
			break;
		}

	}

	@Override
	protected int layout_id() {
		// TODO Auto-generated method stub
		return R.layout.activity_puong_key;
	}

	@Override
	protected void onInitController() {
		// TODO Auto-generated method stub

	}

	@Override
	protected void onInit() {
		// TODO Auto-generated method stub

	}

	@Override
	protected void onReadIntent(Bundle bundle) {
		// TODO Auto-generated method stub

	}

}
